package com.linQing.waterWork.modle.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.TreeMap;

/**
 * @version 1.0.0
 * @program: linqing
 * @description: TODO
 * @author: lsk
 * @create: 2024-04-10 09:03
 * @since jdk1.8
 **/
@Document(collection = "linqing")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CollTest {


//    @MongoId
//    private String id;

    @Field("UpdateTime")
    private String updateTime;

    @Field("AnalogValues")
    private TreeMap<String, Double> analogValues;

//    @Field("DigitalValues")
//    private TreeMap<String, Boolean> digitalValues;

}

